/*
*
* Position.java
* @date 2019-01-15
*/
package com.lyz.myself.pojo.Po;

import com.lyz.myself.pojo.Vo.UserVo;

import java.io.Serializable;
import java.util.List;

public class Position implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 岗位id
     */
    private Integer position_id;

    private Integer parent_id;

    private String name;

    private Integer department_id;

    private String description;

    private Integer company_id;

    private RoleDepartment roleDepartment;

    private List<User> userList;

    private List<Position> children;

    public List<Position> getChildren() {
        return children;
    }

    public void setChildren(List<Position> children) {
        this.children = children;
    }

    public RoleDepartment getRoleDepartment() {
        return roleDepartment;
    }

    public void setRoleDepartment(RoleDepartment roleDepartment) {
        this.roleDepartment = roleDepartment;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    /**
     * 岗位id
     * @return position_id 岗位id
     */
    public Integer getPosition_id() {
        return position_id;
    }

    /**
     * 岗位id
     * @param position_id 岗位id
     */
    public void setPosition_id(Integer position_id) {
        this.position_id = position_id;
    }

    /**
     * 
     * @return parent_id 
     */
    public Integer getParent_id() {
        return parent_id;
    }

    /**
     * 
     * @param parent_id 
     */
    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    /**
     * 
     * @return name 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     * @param name 
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 
     * @return department_id 
     */
    public Integer getDepartment_id() {
        return department_id;
    }

    /**
     * 
     * @param department_id 
     */
    public void setDepartment_id(Integer department_id) {
        this.department_id = department_id;
    }

    /**
     * 描述
     * @return description 描述
     */
    public String getDescription() {
        return description;
    }

    /**
     * 描述
     * @param description 描述
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * 
     * @return company_id 
     */
    public Integer getCompany_id() {
        return company_id;
    }

    /**
     * 
     * @param company_id 
     */
    public void setCompany_id(Integer company_id) {
        this.company_id = company_id;
    }
}